/*
 * KKRenderTexture.h
 *
 *  Created on: 2013-9-23
 *      Author: wanghua
 */

#ifndef KKRENDERTEXTURE_H_
#define KKRENDERTEXTURE_H_


#include "kaka_common.h"
#include "KKNode.h"

using namespace std;

USING_NS_CC;

class KKRenderTexture: public cocos2d::CCRenderTexture {
private:
	;CC_SYNTHESIZE(CCSprite*,m_brush,Brush)
	;CC_SYNTHESIZE(int,m_pointCount,PointCount)
public:
	KKRenderTexture();

	virtual ~KKRenderTexture();

	static KKRenderTexture * renderTextureWithTarget(KKNode* target,const char* brushfile);

	void addPoint(CCPoint end, CCPoint dir);
};
#endif /* KKRENDERTEXTURE_H_ */
